home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 7
/
FM Towns Free Software Collection 7.iso
/
taropyon
/
hewin
/
ccisrc
/
fdl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-30
|
2KB
|
33 lines
#ifndef _FDL_H
#define _FDL_H
/*--------------------------------------------------------------------
ファイルダイアログの動作モードを指定するマクロ
--------------------------------------------------------------------*/
#define FDL_MODE_SINGLE (0x00000001) /* ファイルをひとつだけ選択/指定 */
#define FDL_MODE_MULTI (0x00000002) /* 複数選択/指定 */
#define FDL_MODE_PATH (0x00000003) /* ディレクトリ選択/指定 */
#define FDL_MODE_BIT_DIRIGN (0x00000080) /* サブディレクトリの選択/指定を禁止 */
#define FDL_MODE_BIT_DUPIGN (0x00000800) /* 同一ファイル1の選択を禁止する */
#define FDL_MODE_BIT_EXIST (0x00008000) /* 存在するファイルのみ選択可能 */
#define FDL_MODE_BIT_SIDEWORK (0x00010000) /* サイドーク */
#define FDL_MODE_BIT_DOSCALL (0x00020000) /* DOS コマンド */
#define FDL_MODE_DEFAULT (FDL_MODE_SINGLE|FDL_MODE_BIT_DIRIGN|FDL_MODE_BIT_SIDEWORK)
#define FDL_SORT_OFF (0) /* ソートなし */
#define FDL_SORT_FILE (1) /* ファイル名 */
#define FDL_SORT_SUB (2) /* 拡張子 */
#define FDL_SORT_DATE (3) /* 日付 */
#define FDL_SORT_SIZE (4) /* サイズ */
#define FDL_SORT_RVS (0x80) /* 昇順/降順 */
#define FDL_SORT_DIRBIT (0x60)
#define FDL_SORT_DIRTOP (0x00) /* ディレクトリ先頭 */
#define FDL_SORT_DIRLAST (0x20) /* ディレクトリ最後 */
#define FDL_SORT_DIROFF (0x40) /* ディレクトリ */
#define FDL_ISSORT_DIRTOP(_sort) (((_sort)&FDL_SORT_DIRBIT) == FDL_SORT_DIRTOP)
#define FDL_ISSORT_DIRLAST(_sort) (((_sort)&FDL_SORT_DIRBIT) == FDL_SORT_DIRLAST)
#define FDL_ISSORT_DIROFF(_sort) (((_sort)&FDL_SORT_DIRBIT) == FDL_SORT_DIROFF)
#endif